﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="TinyForum.Domain" namespace="TinyForum.Domain.Model">
  <class name="Setting" table="Settings" lazy="true">
    <id name="ID">
      <generator class="identity"/>
    </id>
    <property name="SiteTitle" not-null="false" access="field.camelcase" unique="true" length="20"/>
    <property name="SiteDescription" not-null="false" access="field.camelcase" unique="true" length="255"/>
    <property name="SiteCopyright" not-null="false" access="field.camelcase" unique="true" length="100"/>
    <property name="SiteTheme" not-null="false" access="field.camelcase" unique="true" length="50"/>
    <property name="PostsPerPage" not-null="false" access="field.camelcase"/>
    <property name="RepliesPerPage" not-null="false" access="field.camelcase"/>
  </class>
</hibernate-mapping>
